<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title><link rel="stylesheet" href="../bootstrap/css/bootstrap.css">
    <style>
        .container{
            background: red;
        }
        [class^='col']{
            height: 50px;
            border: 1px solid black;
        }
    </style>
</head>
<body>
    <div class="container">
    <div class="col-xs-3 col-sm-6 col-md-4"></div>
    <div class="col-xs-3 col-sm-6 col-md-4"></div>
    <div class="col-xs-3 col-sm-6 col-md-4"></div>
    <div class="col-xs-3 col-sm-6 col-md-4"></div>
    <div class="col-xs-3 col-sm-6 col-md-4"></div>
 </div>
</body>
</html>